<?php
namespace app\common\validate;

use think\Validate;

class Register extends Validate
{
    protected $rule = [
        'email|邮箱'  =>  'require|email|length:4,25|unique:user',
        'phone|手机号'  =>  'require|mobile|length:4,25|unique:user',
        'password|密码' =>  'require|length:4,25',
    ];

}